package com.pyue.eam.admin.api.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class SimpleUserInfo {
    /**
     * userId
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "userId")
    private Long userId;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String username;

    /**
     * 头像
     */
    @Schema(description = "头像")
    private String avatar;

    /**
     * 昵称
     */
    @Schema(description = "拓展字段:昵称")
    private String nickname;

    /**
     * 姓名
     */
    @Schema(description = "拓展字段:姓名")
    private String name;
}
